home *** CD-ROM | disk | FTP | other *** search
- /*
- * SFcolours - Star Fighter 3000 colours editor
- * Utility functions
- * Copyright (C) 2001 Chris Bazley
- */
-
- #ifndef SFCUtils_h
- #define SFCUtils_h
-
- #include "kernel.h"
- #include "toolbox.h"
-
- #include "loader.h"
-
- extern LoaderFileHandler load_compressed;
-
- extern void set_24bit_button_col(ObjectId window, ComponentId button, int colour);
- extern _kernel_oserror *open_topleftofwin(unsigned int flags, ObjectId showobj, ObjectId relativeto, ObjectId parent, ComponentId parent_component);
-
- extern _kernel_oserror *show_win_at_ptr(unsigned int flags, ObjectId id, ObjectId parent, ComponentId parent_component);
-
- extern char *tail(char *filepath, int length);
-
- extern char brightness_of_24bit_col(int colour);
-
- extern char real_to_mode13col(unsigned int real_col);
-
- #endif
-